From c8ca43ad5148ca380b3525ea1da0c5673e9d9c60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Sat, 1 Jul 2017 19:15:01 +0200 Subject: [PATCH] stack: Fix under transitions make sure we initialize both width and height with proper values. --- gtk/gtkstack.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index baa56d4bb6..b1d515a9a3 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -1840,6 +1840,9 @@ gtk_stack_snapshot_under (GtkWidget *widget, gtk_widget_get_content_size (widget, &widget_width, &widget_height); x = y = 0; + width = widget_width; + height = widget_height; + pos_x = pos_y = 0; switch (priv->active_transition_type) -- 2.30.2